/* 好友列表按照拼音排序 */
import _ from "lodash";
export default function (friendItemData) {
  const resultObj = {};
  const containerObj = {};
  for (const key in friendItemData) {
    if (Object.hasOwnProperty.call(friendItemData, key)) {
    }
  }
  const resultObjKeys = _.sortBy(_.keys(containerObj));

  resultObjKeys.forEach(a => {
    resultObj[a] = containerObj[a];
  });
  return resultObj;
}
